//
//  UILabel+ZInit.m
//
//  Created by ZhàoYǒng on 2018/1/11.
//  Copyright © 2018年 ZhàoYǒng. All rights reserved.
//

#import "UILabel+ZInit.h"

@implementation UILabel(ZInit)

UILabel * _Nullable LabelInit(CGFloat font, UIColor * _Nullable textColor, NSString * _Nullable text) {
    UILabel *label = [[UILabel alloc] init];
    label.font = [UIFont systemFontOfSize:font];
    label.textColor = textColor;
    label.text = text;
    return label;
}


@end
